package lol.clann.minecraft.springboot.plugin.bukkit.impl;

import lol.clann.minecraft.springboot.api.annotation.condition.ConditionalOnMinecraftVersion;
import lol.clann.minecraft.springboot.api.annotation.condition.MinecraftVersionRange;
import org.bukkit.entity.LivingEntity;
import org.springframework.stereotype.Service;

/**
 *
 * @author pyz
 * @date 2019/7/13 12:44 AM
 */
@Service
@ConditionalOnMinecraftVersion(@MinecraftVersionRange(min = 10900))
public class EntityUtilsImpl_v109 extends EntityUtilsImpl_all {
    @Override
    public boolean isCollidable(LivingEntity livingEntity) {
        return livingEntity.isCollidable();
    }
}
